package org.osll.tictactoe.transport.tcp;

import java.io.Serializable;


public class DefaultResponse implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7007266583242068329L;

	public enum Type {
		LOGIN_ACCEPTED,
		LOGIN_REJECTED,
		SIZE,
		REFLEXIVE_TIME,
		MOVE,
		APPONENT_MOVE,
		ERROR,
		STARTED,
		OVER,
		APPONENT_NAME,
		UNKNOWN
	}
	
	private Type type = Type.UNKNOWN;
	
	public DefaultResponse(Type type) {
		this.type = type;
	}

	public Type getType() {
		return type;
	}
}
